#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll n,m;
ll aa[20000],c[20000];
template<typename T>void read(T &x){
    x=0;char c=getchar();int f=1;
    for(;!isdigit(c);c=getchar()) if(c=='-') f=-1;
    for(;isdigit(c);c=getchar()) x=(x<<3)+(x<<1)+(c^48);
    x*=f;
}
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    read(n);read(m);
    for(ll i=1;i<=n;i++) read(aa[i]);
    for(ll i=1;i<=m;i++) read(c[i]);
    cout<<1;
    return 0;
}
